Pass the correct GDK library when working around Debian libtool
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 10 Nov 2010 22:08:40 +0000 (17:08 -0500)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sat, 13 Nov 2010 06:23:33 +0000 (15:23 +0900)
We need to link against gdk/libgdk-x11-3.0.la, not
gdk/x11/libgdk-x11.la, which is the convenience library containing
the backend functions.

gtk/Makefile.am

index 23389fb2ef2f9004db8686f77d60fc927aaacb2d..0bab4ed6c8806238515e57d131cb9b634e57b8f2 100644 (file)
@@ -924,7 +924,7 @@ Gtk_3_0_gir_CFLAGS = \
                -DGTK_TEXT_USE_INTERNAL_UNSUPPORTED_API
 Gtk_3_0_gir_LIBS = $(gtktargetlib)
 if USE_X11
-Gtk_3_0_gir_LIBS += $(top_builddir)/gdk/x11/libgdk-x11.la
+Gtk_3_0_gir_LIBS += $(top_builddir)/gdk/libgdk-x11-3.0.la
 endif
 Gtk_3_0_gir_FILES = $(introspection_files)
 INTROSPECTION_GIRS += Gtk-3.0.gir